package main

import (
	"fmt"
	"go-learning-process/3.面向对象/queue"
)

func main() {
	q := queue.Queue{1}
	q.Push(2)
	q.Push(3)
	// 1
	fmt.Println(q.Pop())
	// 2
	fmt.Println(q.Pop())
	// false
	fmt.Println(q.IsEmpty())
	// 3
	fmt.Println(q.Pop())
	// true
	fmt.Println(q.IsEmpty())
}
